package com.tubi.lambda1;

public class test6lambda {
    public static void main(String[] args) {

        suerInter( (double a ,double b)-> a+b);
    }

    public  static void suerInter(Inter i){
        double c =  i.method(0.2,0.3);
        System.out.println(c);
    }
}

interface Inter{
    double method(double a, double b);
}